package com.jz.netthings.appengine.mapper;

        import com.jz.netthings.appengine.baseData.Materialbatchno;
        import com.baomidou.mybatisplus.mapper.BaseMapper;
        import org.apache.ibatis.annotations.Param;
        import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yyy
 * @since 2019-04-22
 */
public interface MaterialbatchnoMapper extends BaseMapper<Materialbatchno> {

    @Select("SELECT NAME FROM MATERIALCLASS WHERE ID = #{mcid}")
    String getMcName(@Param("mcid")int mcid);

}
